import { Injectable } from "@nestjs/common";
import { Cat } from "src/common/types/cats.type";

@Injectable()
export class CatsService {
    findAll(): Cat[] {
        return [
            { id: 1, name: 'cat1', age: 1, kind: "tabby" },
            { id: 2, name: 'cat2', age: 2, kind: "persian" },
            { id: 3, name: 'cat3', age: 3, kind: "siamese" },
            { id: 4, name: 'cat4', age: 4, kind: "maine coon" },
            { id: 5, name: 'cat5', age: 5, kind: "ragdoll" },
            { id: 6, name: 'cat6', age: 6, kind: "bengal" },
            { id: 7, name: 'cat7', age: 7, kind: "sphynx" },
            { id: 8, name: 'cat8', age: 8, kind: "exotic" },
        ];
    }
}
